package com.shop.dao;

import com.shop.po.Syrole;
import com.shop.po.SyroleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SyroleMapper {
    int countByExample(SyroleExample example);

    int deleteByExample(SyroleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Syrole record);

    int insertSelective(Syrole record);

    List<Syrole> selectByExample(SyroleExample example);

    Syrole selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Syrole record, @Param("example") SyroleExample example);

    int updateByExample(@Param("record") Syrole record, @Param("example") SyroleExample example);

    int updateByPrimaryKeySelective(Syrole record);

    int updateByPrimaryKey(Syrole record);
}